﻿using System;
namespace Microsoft.Data.OData.Query
{
    /// <summary>
    /// Constant values related to the URI query syntax.
    /// </summary>
    internal static class UriQueryConstants
    {
        /// <summary>A segment name in a URI that indicates metadata is being requested.</summary>
        internal const string MetadataSegment = "$metadata";
        /// <summary>A segment name in a URI that indicates a plain primitive value is being requested.</summary>
        internal const string ValueSegment = "$value";
        /// <summary>A segment name in a URI that indicates batch is being requested.</summary>
        internal const string BatchSegment = "$batch";
        /// <summary>A segment name in a URI that indicates that this is an entity reference link operation.</summary>
        internal const string LinkSegment = "$links";
        /// <summary>A segment name in a URI that indicates that this is a count operation.</summary>
        internal const string CountSegment = "$count";
        /// <summary>A filter query option name.</summary>
        internal const string FilterQueryOption = "$filter";
        /// <summary>An order by query option name.</summary>
        internal const string OrderByQueryOption = "$orderby";
        /// <summary>A select query option name.</summary>
        internal const string SelectQueryOption = "$select";
        /// <summary>An expand query option name.</summary>
        internal const string ExpandQueryOption = "$expand";
        /// <summary>A skip query option name.</summary>
        internal const string SkipQueryOption = "$skip";
        /// <summary>A valid value to denote all-properties access.</summary>
        internal const string Star = "*";
        /// <summary>A top query option name.</summary>
        internal const string TopQueryOption = "$top";
        /// <summary>A inline-count query option name.</summary>
        internal const string InlineCountQueryOption = "$inlinecount";
        /// <summary>A format query option name.</summary>
        internal const string FormatQueryOption = "$format";
    }
}
